package ua.kiev.tosik.price.conf;

public enum SkinType {

	SYSTEM(1), SUBSTANCE(2);
	private int id;

	private SkinType(int id) {
		this.id = id;
	}

	public int getId() {
		return id;
	}

	public static SkinType valueOf(int id) {
		switch (id) {
			case 1:
				return SYSTEM;
			case 2:
				return SUBSTANCE;
			default:
				return SYSTEM;
		}
	}

}
